<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            font-size: 30px;
            text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.5);
        }
    </style>
</head>

<body>
    <div>我是文字阴影</div>
</body>

</html>